package cn.gxa.j229.bug.finance.mapper;

import cn.gxa.j229.bug.finance.pojo.RechargeRecord;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface RechargeRecordMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(RechargeRecord record);

    int insertSelective(RechargeRecord record);

    RechargeRecord selectByPrimaryKey(Integer id);

    List<Map<String,String>> selectAll(RechargeRecord rechargeRecord);
//    renumber （充值单号）
    List<Map<String,String>> selectDateAndPhoneRenumber(RechargeRecord rechargeRecord);

    int selectAllCount(int page, int limit);
    //    renumber （充值单号）
    int selectDateAndPhoneRenumberCount(RechargeRecord rechargeRecord);
    int updateByPrimaryKeySelective(RechargeRecord record);

    int updateByPrimaryKey(RechargeRecord record);
}